import { request } from "./request";

export function testLogin(uAdmin, userphone, userpwd) {
    return request({
        url: "/user/loginuser",
        method: "post",
        params: { uAdmin, userphone, userpwd },
    });
}

export function updatePassword(newPassWord, uPhone) {
    return request({
        url: "/user/updatePassword",
        method: "post",
        params: {
            newPassWord,
            uPhone,
        },
    });
}

export function verificationCode(code, userEmail) {
    return request({
        url: "/user/verificationCode",
        method: "post",
        params: {
            code,
            userEmail,
        },
    });
}